package com.flurry.android;

import android.text.TextUtils;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

final class cw
{
  private static int eV = 1;
  private final int eW;
  private final long eX;
  private final String eY;
  private List<gc> eZ;

  cw(long paramLong, String paramString)
  {
    int i = eV;
    eV = i + 1;
    this.eW = i;
    this.eX = paramLong;
    this.eY = paramString;
    this.eZ = new ArrayList();
  }

  cw(DataInput paramDataInput)
    throws IOException
  {
    this.eW = paramDataInput.readInt();
    this.eX = paramDataInput.readLong();
    String str = paramDataInput.readUTF();
    if (str.equals(""))
      str = null;
    this.eY = str;
    this.eZ = new ArrayList();
    int i = paramDataInput.readShort();
    for (int j = 0; j < i; j = (short)(j + 1))
      this.eZ.add(new gc(paramDataInput));
  }

  final void a(gc paramgc)
  {
    this.eZ.add(paramgc);
  }

  final void a(DataOutput paramDataOutput)
    throws IOException
  {
    paramDataOutput.writeInt(this.eW);
    paramDataOutput.writeLong(this.eX);
    if (this.eY == null);
    for (String str = ""; ; str = this.eY)
    {
      paramDataOutput.writeUTF(str);
      paramDataOutput.writeShort(this.eZ.size());
      Iterator localIterator = this.eZ.iterator();
      while (localIterator.hasNext())
        ((gc)localIterator.next()).a(paramDataOutput);
    }
  }

  final String aA()
  {
    return this.eY;
  }

  final long aB()
  {
    return this.eX;
  }

  final List<gc> aC()
  {
    return this.eZ;
  }

  public final boolean equals(Object paramObject)
  {
    if (this == paramObject);
    cw localcw;
    do
    {
      return true;
      if (!(paramObject instanceof cw))
        return false;
      localcw = (cw)paramObject;
    }
    while ((this.eW == localcw.eW) && (this.eX == localcw.eX) && (TextUtils.equals(this.eY, localcw.eY)) && ((this.eZ == localcw.eZ) || ((this.eZ != null) && (this.eZ.equals(localcw.eZ)))));
    return false;
  }

  final int getIndex()
  {
    return this.eW;
  }

  public final int hashCode()
  {
    int i = (int)(0x11 | this.eW | this.eX);
    if (this.eY != null)
      i |= this.eY.hashCode();
    if (this.eZ != null)
      i |= this.eZ.hashCode();
    return i;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.flurry.android.cw
 * JD-Core Version:    0.6.2
 */